package org;


import ch.hsr.geohash.GeoHash;
import org.apache.hadoop.hive.ql.exec.UDF;


public class MyGeoHash extends UDF {
    public String evaluate(double jd,double wd){
        GeoHash geoHash = GeoHash.withCharacterPrecision(wd, jd, 6);
        return geoHash.toBase32();
    }
}